package org.ddevil.data.set;

/**
 * This interface defines a DataSet that is implemented using the
 * wrapper technique.  It provides a method for getting at the
 * wrapped data set.  If you are using a DataSet to wrap another
 * DataSet you should beware to make all your changes through
 * the outermost DataSet.  Making changes to the wrapped Data Set
 * without the wrapping Data Set knowing about them could break the
 * outer DataSet and cause undesirable/unpredictable results.
 *
 * @author Rich O'Connell
 */
public interface DataSetWrapper {

    /**
     * Get the DataSet that this DataSet is wrapping.
     *
     * @return
     *      The DataSet that is wrapped by this DataSet.
     */
    public DataSet getWrappedDataSet();

}
